/**
 * @filename:SupplierContract 2022-03-22 02:40:49
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.aop.PowerFieldInterface;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 工厂合同实体类</P>
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SupplierContract extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1647931249556L;
    @ApiModelProperty(name = "supplierId", value = "工厂ID")
    private Integer supplierId;
    @ApiModelProperty(name = "address", value = "地   址")
    private String address;
    @ApiModelProperty(name = "boxNumber", value = "外箱数量")
    private BigDecimal boxNumber;
    @ApiModelProperty(name = "contacts", value = "联系人")
    private String contacts;
    @ApiModelProperty(name = "contractEndTime", value = "合同结束时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date contractEndTime;
    @ApiModelProperty(name = "contractId", value = "合同ID")
    private Integer contractId;
    @ApiModelProperty(name = "contractName", value = "合同名称")
    private String contractName;
    @ApiModelProperty(name = "contractNo", value = "合同编号")
    private String contractNo;
    @ApiModelProperty(name = "contractStartTime", value = "合同起始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date contractStartTime;
    @ApiModelProperty(name = "contractTerms", value = "合同条款")
    private String contractTerms;
    @ApiModelProperty(name = "createTime", value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(name = "createUser", value = "创建人")
    private String createUser;
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Integer customerId;
    @ApiModelProperty(name = "handler", value = "公司经办人")
    private String handler;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "ID")
    private Integer id;
    @ApiModelProperty(name = "isDelete", value = "0否1是")
    private Integer isDelete;
    @ApiModelProperty(name = "orderDate", value = "下单日期")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date orderDate;
    @ApiModelProperty(name = "phone", value = "联系电话")
    private String phone;
    @ApiModelProperty(name = "remarks", value = "备注要求明细")
    private String remarks;
    @ApiModelProperty(name = "status", value = "状态")
    private Integer status;
    @ApiModelProperty(name = "supplierContractNo", value = "工厂合同编号")
    private String supplierContractNo;
    @ApiModelProperty(name = "supplierHandler", value = "工厂经办人")
    private String supplierHandler;
    @ApiModelProperty(name = "totalItemNumber", value = "数量")
    private Integer totalItemNumber;
    @ApiModelProperty(name = "totalPrice", value = "金额")
    @PowerFieldInterface
    private BigDecimal totalPrice;
    //------------其他表字段----------
    @ApiModelProperty(name = "customerName", value = "客人名称")
    @TableField(exist = false)
    private String customerName;
    @ApiModelProperty(name = "customerName", value = "客人编号")
    @TableField(exist = false)
    private String customerNo;
    @TableField(exist = false)
    private String supplierName;
    @TableField(exist = false)
    private String supplierNo;

}
